package com.test.pdproject.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName lisaisai
 * @Descirption rabbitmq 消息发送者的 配置文件
 * @Author Administrator
 * @Date 2018/9/19 13:47
 * @Version 1.0
 **/
@Configuration
public class RabbitConfig {
    @Bean
    public Queue product() {
        return new Queue("product");
    }
    @Bean
    public Queue order() {
        return new Queue("order");
    }
    @Bean
    public Queue sku() {
        return new Queue("sku");
    }
}
